<?php
$ini_array = parse_ini_file("../settings.ini");
print_r($ini_array);exit;
set_time_limit(0);
ini_set("memory_limit",'128M');
ini_set("max_execution_time",'0');
include_once("get_local_content.php");
include_once("CurlAccess.php");
$local_result = getLocalContent(trim($_POST["f"]));


/*foreach($local_result as $key=>$value){

	$server_result = unserialize(CurlAccess::getFromCurl("http://67.23.15.64/reports/analytics/get_server_content.php",$key));

	if(array_diff_assoc($local_result[$key],$server_result[$key]) || array_diff_assoc($server_result[$key],$local_result[$key])){
		echo "Contents in {$key} folder in local and server varies";
	}else{
		echo "Contents in {$key} folder in local and server is identical<br />";
	}

}*/
print_r($local_result);
?>
